Automattic\WooCommerce\Blocks\BlockTypes\Checkout B

Total Complexity 87
Dependencies 3
Dependents 1
Total lines 644
Lines of code 414
Logical lines of code 180
Comment lines 167
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
enqueue_data()
C
30 23 117
update_local_pickup_title()
A
50 15 25
render()
A
41 11 58
find_local_pickup_text_in_checkout_block()
A
56 8 18
hydrate_customer_payment_methods()
S
53 4 23
get_block_type_script()
S
60 4 12
register_settings()
S
45 1 53
include_token_id_with_payment_methods()
S
62 4 10
is_block_editor()
S
68 4 7
get_checkout_block_types()
S
53 1 28
initialize()
S
61 2 12
get_block_type_editor_script()
S
66 2 8
is_checkout_endpoint()
S
79 2 3
dequeue_woocommerce_core_scripts()
S
72 1 6
enqueue_assets()
S
73 1 5
get_enabled_payment_gateways()
S
67 1 9
get_block_type_style()
S
79 1 3
register_patterns()
S
64 1 10
register_block_type_assets()
S
68 1 7